package com.cdream.basic.classiccase.miaosha.service.impl;

import com.cdream.basic.classiccase.miaosha.entity.SequenceInfo;
import com.cdream.basic.classiccase.miaosha.mapper.SequenceInfoMapper;
import com.cdream.basic.classiccase.miaosha.service.SequenceInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zs
 * @since 2021-07-17
 */
@Service
public class SequenceInfoServiceImpl extends ServiceImpl<SequenceInfoMapper, SequenceInfo> implements SequenceInfoService {
    @Autowired
    private SequenceInfoMapper sequenceInfoMapper;

    @Override
    public SequenceInfo getSequenceByName(String name) {
        return sequenceInfoMapper.getSequenceByName(name);
    }
}
